const internal/chacha8rand.ctrInc
7 uses
internal/chacha8rand (current package)
chacha8.go#L13: ctrInc = 4 // increment counter by 4 between block calls
chacha8.go#L76: s.c += ctrInc
chacha8.go#L94: if s.c == ctrMax-ctrInc {
chacha8.go#L126: used := (s.c/ctrInc)*chunk + s.i
chacha8.go#L146: if used > (ctrMax/ctrInc)*chunk-reseed {
chacha8.go#L152: s.c = ctrInc * (uint32(used) / chunk)
chacha8.go#L156: if s.c == ctrMax-ctrInc {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |